home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / misc / volume15 / dmake-3.6 / part25 < prev    next >
Encoding:
Text File  |  1990-10-14  |  17.6 KB  |  370 lines

  1. Newsgroups: comp.sources.misc
  2. X-UNIX-From: dvadura@watdragon.waterloo.edu
  3. subject: v15i077: dmake version 3.6 (part 25/25)
  4. from: Dennis Vadura <dvadura@watdragon.waterloo.edu>
  5. Sender: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  6.  
  7. Posting-number: Volume 15, Issue 77
  8. Submitted-by: Dennis Vadura <dvadura@watdragon.waterloo.edu>
  9. Archive-name: dmake-3.6/part25
  10.  
  11. #!/bin/sh
  12. # this is part 25 of a multipart archive
  13. # do not concatenate these parts, unpack them in order with /bin/sh
  14. # file _install continued
  15. #
  16. CurArch=25
  17. if test ! -r s2_seq_.tmp
  18. then echo "Please unpack part 1 first!"
  19.      exit 1; fi
  20. ( read Scheck
  21.   if test "$Scheck" != $CurArch
  22.   then echo "Please unpack part $Scheck next!"
  23.        exit 1;
  24.   else exit 0; fi
  25. ) < s2_seq_.tmp || exit 1
  26. echo "x - Continuing file _install"
  27. sed 's/^X//' << 'SHAR_EOF' >> _install
  28. Xrelatively error free.  Ignore any warnings that concern unused arguments
  29. Xto functions, these are normal in some configurations (esp the MSDOS
  30. Xconfiguration).
  31. X
  32. X
  33. XSTARTUP FILE
  34. X
  35. Xdmake requires the loading of a startup file when it is first invoked.  The
  36. Xpath for the startup file is set in the file 'startup.h' found in the unix
  37. Xand msdos directories.  You may override the value of the path variable
  38. Xcompiled-in by creating a file at the root source directory called startup.h
  39. Xand inserting into that file a definition that is like the definition found
  40. Xin the supplied startup.h files.
  41. X
  42. X
  43. XINSTALLATION
  44. X
  45. XTo install dmake you must copy the executable to where your system
  46. Xlocates executables, and you must place a copy of startup.mk (found in the
  47. Xdirectory corresponding to the version you just made) into a location
  48. Xcorresponding to the value of the MAKESTARTUP macro or environment variable.
  49. XYou are free to customize the contents of startup.mk.
  50. X
  51. XTo make dmake again, (using itself), you will have to set three environment
  52. Xvariables.  See the file makefile.mk for their names and their legal values.
  53. XOnce set you can invoke dmake to make itself.
  54. X
  55. X
  56. XDOCUMENTATION
  57. X
  58. XAll documentation for dmake appears under the man directory.
  59. XThe file dmake.tf included in this distribution contains the troff
  60. Xsource for the man page.  You must typeset it using the -man macros.
  61. XIf you cannot typeset it, the file dmake.p is a version that has been
  62. Xtypeset for a normal dumb terminal.  The file dmake.p contains control
  63. Xcharacters.  The file dmake.nc is a version of the man page that has
  64. Xall of the control characters stripped.
  65. X
  66. X
  67. XCREATING A NEW VERSION
  68. X
  69. XTo create yet another version of dmake you should follow the following steps.
  70. X
  71. XThe sysvr3 version as sent is the base version, all dmake versions must provide
  72. Xthe equivalent of the functions defined in the sysvr3 directory, and MUST
  73. Xprovide the same semantics (MSDOS archive lib searches are an exception since
  74. Xwe cannot search libraries for timestamps in MSDOS, Actually the MKS version
  75. Xof dmake does this, I don't have the time to add this code though).
  76. X
  77. X1. Create a new directory for the version you will be making at the level
  78. X   that is appropriate.  If it is a new OS then add the dir at the top level,
  79. X   if it is a new version of UNIX then add it below the unix directory.
  80. X
  81. X2. Copy the files from the unix and unix/sysvr3 directories to the new dir.
  82. X   (Or from any other directory sub-tree that is more appropriate)
  83. X
  84. X3. Not all OS/OSRELEASE combinations are compatible so in order to make
  85. X   dmake on each, the particular directory may contain C-source for functions
  86. X   present in the SVID SysV R3 distribution which are used by dmake but are
  87. X   not supplied by the C-library in the target system.  For example the bsd43
  88. X   directory contains source for tempnam.c since it is not provided with
  89. X   the BSD C-library.  Before writing a new version of the source file
  90. X   check the other directories to see if one already exists.
  91. X
  92. X4. Under some systems the standard include files may be missing or incorrect.
  93. X   eg. under BSD stdarg.h and string.h.  If this is the case
  94. X   you should create the proper .h file in the proper directory.
  95. X   This works as expected as the compile line includes the flag -Idir
  96. X   where dir is the configuration dir, (bsd43 for example) and any
  97. X   standard include files will be searched for in dir before the compiler
  98. X   looks in the normal places (if you have a sane compiler :-).
  99. X
  100. X5. Modify dmake.sh to contain the appropriate C compiler flags and link command
  101. X   and to include any specific C files that you have had to add for this
  102. X   version of dmake, and run the result through the shell.
  103. X   (make the same changes to config.mk so that once you have a working copy of
  104. X   dmake you can use it to bring itself up to date)
  105. X
  106. X6. Send me the changes :-) so that I can incorporate them into future
  107. X   distributions.
  108. X
  109. X7. This should be all that you require to create a new version of dmake.
  110. X   If you have any questions send e-mail to dvadura@watdragon.uwaterloo.ca
  111. SHAR_EOF
  112. echo "File _install is complete"
  113. chmod 0640 _install || echo "restore of _install fails"
  114. echo "x - extracting LICENSE (Text)"
  115. sed 's/^X//' << 'SHAR_EOF' > LICENSE &&
  116. X            GNU GENERAL PUBLIC LICENSE
  117. X             Version 1, February 1989
  118. X
  119. X Copyright (C) 1989 Free Software Foundation, Inc.
  120. X                    675 Mass Ave, Cambridge, MA 02139, USA
  121. X Everyone is permitted to copy and distribute verbatim copies
  122. X of this license document, but changing it is not allowed.
  123. X
  124. X                Preamble
  125. X
  126. X  The license agreements of most software companies try to keep users
  127. Xat the mercy of those companies.  By contrast, our General Public
  128. XLicense is intended to guarantee your freedom to share and change free
  129. Xsoftware--to make sure the software is free for all its users.  The
  130. XGeneral Public License applies to the Free Software Foundation's
  131. Xsoftware and to any other program whose authors commit to using it.
  132. XYou can use it for your programs, too.
  133. X
  134. X  When we speak of free software, we are referring to freedom, not
  135. Xprice.  Specifically, the General Public License is designed to make
  136. Xsure that you have the freedom to give away or sell copies of free
  137. Xsoftware, that you receive source code or can get it if you want it,
  138. Xthat you can change the software or use pieces of it in new free
  139. Xprograms; and that you know you can do these things.
  140. X
  141. X  To protect your rights, we need to make restrictions that forbid
  142. Xanyone to deny you these rights or to ask you to surrender the rights.
  143. XThese restrictions translate to certain responsibilities for you if you
  144. Xdistribute copies of the software, or if you modify it.
  145. X
  146. X  For example, if you distribute copies of a such a program, whether
  147. Xgratis or for a fee, you must give the recipients all the rights that
  148. Xyou have.  You must make sure that they, too, receive or can get the
  149. Xsource code.  And you must tell them their rights.
  150. X
  151. X  We protect your rights with two steps: (1) copyright the software, and
  152. X(2) offer you this license which gives you legal permission to copy,
  153. Xdistribute and/or modify the software.
  154. X
  155. X  Also, for each author's protection and ours, we want to make certain
  156. Xthat everyone understands that there is no warranty for this free
  157. Xsoftware.  If the software is modified by someone else and passed on, we
  158. Xwant its recipients to know that what they have is not the original, so
  159. Xthat any problems introduced by others will not reflect on the original
  160. Xauthors' reputations.
  161. X
  162. X  The precise terms and conditions for copying, distribution and
  163. Xmodification follow.
  164. X
  165. X            GNU GENERAL PUBLIC LICENSE
  166. X   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  167. X
  168. X  0. This License Agreement applies to any program or other work which
  169. Xcontains a notice placed by the copyright holder saying it may be
  170. Xdistributed under the terms of this General Public License.  The
  171. X"Program", below, refers to any such program or work, and a "work based
  172. Xon the Program" means either the Program or any work containing the
  173. XProgram or a portion of it, either verbatim or with modifications.  Each
  174. Xlicensee is addressed as "you".
  175. X
  176. X  1. You may copy and distribute verbatim copies of the Program's source
  177. Xcode as you receive it, in any medium, provided that you conspicuously and
  178. Xappropriately publish on each copy an appropriate copyright notice and
  179. Xdisclaimer of warranty; keep intact all the notices that refer to this
  180. XGeneral Public License and to the absence of any warranty; and give any
  181. Xother recipients of the Program a copy of this General Public License
  182. Xalong with the Program.  You may charge a fee for the physical act of
  183. Xtransferring a copy.
  184. X
  185. X  2. You may modify your copy or copies of the Program or any portion of
  186. Xit, and copy and distribute such modifications under the terms of Paragraph
  187. X1 above, provided that you also do the following:
  188. X
  189. X    a) cause the modified files to carry prominent notices stating that
  190. X    you changed the files and the date of any change; and
  191. X
  192. X    b) cause the whole of any work that you distribute or publish, that
  193. X    in whole or in part contains the Program or any part thereof, either
  194. X    with or without modifications, to be licensed at no charge to all
  195. X    third parties under the terms of this General Public License (except
  196. X    that you may choose to grant warranty protection to some or all
  197. X    third parties, at your option).
  198. X
  199. X    c) If the modified program normally reads commands interactively when
  200. X    run, you must cause it, when started running for such interactive use
  201. X    in the simplest and most usual way, to print or display an
  202. X    announcement including an appropriate copyright notice and a notice
  203. X    that there is no warranty (or else, saying that you provide a
  204. X    warranty) and that users may redistribute the program under these
  205. X    conditions, and telling the user how to view a copy of this General
  206. X    Public License.
  207. X
  208. X    d) You may charge a fee for the physical act of transferring a
  209. X    copy, and you may at your option offer warranty protection in
  210. X    exchange for a fee.
  211. X
  212. XMere aggregation of another independent work with the Program (or its
  213. Xderivative) on a volume of a storage or distribution medium does not bring
  214. Xthe other work under the scope of these terms.
  215. X
  216. X  3. You may copy and distribute the Program (or a portion or derivative of
  217. Xit, under Paragraph 2) in object code or executable form under the terms of
  218. XParagraphs 1 and 2 above provided that you also do one of the following:
  219. X
  220. X    a) accompany it with the complete corresponding machine-readable
  221. X    source code, which must be distributed under the terms of
  222. X    Paragraphs 1 and 2 above; or,
  223. X
  224. X    b) accompany it with a written offer, valid for at least three
  225. X    years, to give any third party free (except for a nominal charge
  226. X    for the cost of distribution) a complete machine-readable copy of the
  227. X    corresponding source code, to be distributed under the terms of
  228. X    Paragraphs 1 and 2 above; or,
  229. X
  230. X    c) accompany it with the information you received as to where the
  231. X    corresponding source code may be obtained.  (This alternative is
  232. X    allowed only for noncommercial distribution and only if you
  233. X    received the program in object code or executable form alone.)
  234. X
  235. XSource code for a work means the preferred form of the work for making
  236. Xmodifications to it.  For an executable file, complete source code means
  237. Xall the source code for all modules it contains; but, as a special
  238. Xexception, it need not include source code for modules which are standard
  239. Xlibraries that accompany the operating system on which the executable
  240. Xfile runs, or for standard header files or definitions files that
  241. Xaccompany that operating system.
  242. X
  243. X  4. You may not copy, modify, sublicense, distribute or transfer the
  244. XProgram except as expressly provided under this General Public License.
  245. XAny attempt otherwise to copy, modify, sublicense, distribute or transfer
  246. Xthe Program is void, and will automatically terminate your rights to use
  247. Xthe Program under this License.  However, parties who have received
  248. Xcopies, or rights to use copies, from you under this General Public
  249. XLicense will not have their licenses terminated so long as such parties
  250. Xremain in full compliance.
  251. X
  252. X  5. By copying, distributing or modifying the Program (or any work based
  253. Xon the Program) you indicate your acceptance of this license to do so,
  254. Xand all its terms and conditions.
  255. X
  256. X  6. Each time you redistribute the Program (or any work based on the
  257. XProgram), the recipient automatically receives a license from the original
  258. Xlicensor to copy, distribute or modify the Program subject to these
  259. Xterms and conditions.  You may not impose any further restrictions on the
  260. Xrecipients' exercise of the rights granted herein.
  261. X
  262. X  7. The Free Software Foundation may publish revised and/or new versions
  263. Xof the General Public License from time to time.  Such new versions will
  264. Xbe similar in spirit to the present version, but may differ in detail to
  265. Xaddress new problems or concerns.
  266. X
  267. XEach version is given a distinguishing version number.  If the Program
  268. Xspecifies a version number of the license which applies to it and "any
  269. Xlater version", you have the option of following the terms and conditions
  270. Xeither of that version or of any later version published by the Free
  271. XSoftware Foundation.  If the Program does not specify a version number of
  272. Xthe license, you may choose any version ever published by the Free Software
  273. XFoundation.
  274. X
  275. X  8. If you wish to incorporate parts of the Program into other free
  276. Xprograms whose distribution conditions are different, write to the author
  277. Xto ask for permission.  For software which is copyrighted by the Free
  278. XSoftware Foundation, write to the Free Software Foundation; we sometimes
  279. Xmake exceptions for this.  Our decision will be guided by the two goals
  280. Xof preserving the free status of all derivatives of our free software and
  281. Xof promoting the sharing and reuse of software generally.
  282. X
  283. X                NO WARRANTY
  284. X
  285. X  9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  286. XFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
  287. XOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  288. XPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  289. XOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  290. XMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
  291. XTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
  292. XPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  293. XREPAIR OR CORRECTION.
  294. X
  295. X  10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  296. XWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  297. XREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  298. XINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  299. XOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  300. XTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  301. XYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  302. XPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  303. XPOSSIBILITY OF SUCH DAMAGES.
  304. X
  305. X             END OF TERMS AND CONDITIONS
  306. X
  307. X    Appendix: How to Apply These Terms to Your New Programs
  308. X
  309. X  If you develop a new program, and you want it to be of the greatest
  310. Xpossible use to humanity, the best way to achieve this is to make it
  311. Xfree software which everyone can redistribute and change under these
  312. Xterms.
  313. X
  314. X  To do so, attach the following notices to the program.  It is safest to
  315. Xattach them to the start of each source file to most effectively convey
  316. Xthe exclusion of warranty; and each file should have at least the
  317. X"copyright" line and a pointer to where the full notice is found.
  318. X
  319. X    <one line to give the program's name and a brief idea of what it does.>
  320. X    Copyright (C) 19yy  <name of author>
  321. X
  322. X    This program is free software; you can redistribute it and/or modify
  323. X    it under the terms of the GNU General Public License as published by
  324. X    the Free Software Foundation; either version 1, or (at your option)
  325. X    any later version.
  326. X
  327. X    This program is distributed in the hope that it will be useful,
  328. X    but WITHOUT ANY WARRANTY; without even the implied warranty of
  329. X    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  330. X    GNU General Public License for more details.
  331. X
  332. X    You should have received a copy of the GNU General Public License
  333. X    along with this program; if not, write to the Free Software
  334. X    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  335. X
  336. XAlso add information on how to contact you by electronic and paper mail.
  337. X
  338. XIf the program is interactive, make it output a short notice like this
  339. Xwhen it starts in an interactive mode:
  340. X
  341. X    Gnomovision version 69, Copyright (C) 19xx name of author
  342. X    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  343. X    This is free software, and you are welcome to redistribute it
  344. X    under certain conditions; type `show c' for details.
  345. X
  346. XThe hypothetical commands `show w' and `show c' should show the
  347. Xappropriate parts of the General Public License.  Of course, the
  348. Xcommands you use may be called something other than `show w' and `show
  349. Xc'; they could even be mouse-clicks or menu items--whatever suits your
  350. Xprogram.
  351. X
  352. XYou should also get your employer (if you work as a programmer) or your
  353. Xschool, if any, to sign a "copyright disclaimer" for the program, if
  354. Xnecessary.  Here a sample; alter the names:
  355. X
  356. X  Yoyodyne, Inc., hereby disclaims all copyright interest in the
  357. X  program `Gnomovision' (a program to direct compilers to make passes
  358. X  at assemblers) written by James Hacker.
  359. X
  360. X  <signature of Ty Coon>, 1 April 1989
  361. X  Ty Coon, President of Vice
  362. X
  363. XThat's all there is to it!
  364. SHAR_EOF
  365. chmod 0640 LICENSE || echo "restore of LICENSE fails"
  366. rm -f s2_seq_.tmp
  367. echo "You have unpacked the last part"
  368. exit 0
  369.  
  370.